package com.scoring.system.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.scoring.system.pojo.User;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    int insertSelective(User record);
    
    int softDelete(Integer id);

    User selectByPrimaryKey(Integer id);
    
    User selectByUserNumber(String userNumber);
    
    User selectByName(String name);
    
    List<User> listUser();
    
    User selectByUserNumberAndPassword(@Param("userNumber")String userNumber,@Param("password")String password);

    int updateByPrimaryKeySelective(User record);

    int updateByPrimaryKey(User record);
}